package net.jiug.common.config;

import net.jiug.email.model.Email;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

/**
 * 邮箱配置
 */
@ConfigurationProperties(prefix = "app.email")
public class ConfigEmail {

    private String nick ;
    // 默认通知标题
    private String noticeTitle ;
    // 邮箱使用阈值
    private Integer emailUseThresholdValue ;
    // 邮箱列表
    private List<Email> emailList ;

    public String getNick() {
        return nick;
    }

    public void setNick(String nick) {
        this.nick = nick;
    }

    public String getNoticeTitle() {
        return noticeTitle;
    }

    public void setNoticeTitle(String noticeTitle) {
        this.noticeTitle = noticeTitle;
    }

    public Integer getEmailUseThresholdValue() {
        return emailUseThresholdValue;
    }

    public void setEmailUseThresholdValue(Integer emailUseThresholdValue) {
        this.emailUseThresholdValue = emailUseThresholdValue;
    }

    public List<Email> getEmailList() {
        return emailList;
    }

    public void setEmailList(List<Email> emailList) {
        this.emailList = emailList;
    }
}
